package com.wangyang.stock.po;

/**
 * MerInv entity. @author MyEclipse Persistence Tools
 */

public class MerInv implements java.io.Serializable {

	// Fields

	private Integer merInvId;
	private Invoice invoice;
	private Merchandise merchandise;
	private Float merchandisePrice;
	private Integer merchandiseAmount;
	private Float merchandiseTotal;

	// Constructors

	/** default constructor */
	public MerInv() {
	}

	/** full constructor */
	public MerInv(Invoice invoice, Merchandise merchandise,
			Float merchandisePrice, Integer merchandiseAmount,
			Float merchandiseTotal) {
		this.invoice = invoice;
		this.merchandise = merchandise;
		this.merchandisePrice = merchandisePrice;
		this.merchandiseAmount = merchandiseAmount;
		this.merchandiseTotal = merchandiseTotal;
	}

	// Property accessors

	public Integer getMerInvId() {
		return this.merInvId;
	}

	public void setMerInvId(Integer merInvId) {
		this.merInvId = merInvId;
	}

	public Invoice getInvoice() {
		return this.invoice;
	}

	public void setInvoice(Invoice invoice) {
		this.invoice = invoice;
	}

	public Merchandise getMerchandise() {
		return this.merchandise;
	}

	public void setMerchandise(Merchandise merchandise) {
		this.merchandise = merchandise;
	}

	public Float getMerchandisePrice() {
		return this.merchandisePrice;
	}

	public void setMerchandisePrice(Float merchandisePrice) {
		this.merchandisePrice = merchandisePrice;
	}

	public Integer getMerchandiseAmount() {
		return this.merchandiseAmount;
	}

	public void setMerchandiseAmount(Integer merchandiseAmount) {
		this.merchandiseAmount = merchandiseAmount;
	}

	public Float getMerchandiseTotal() {
		return this.merchandiseTotal;
	}

	public void setMerchandiseTotal(Float merchandiseTotal) {
		this.merchandiseTotal = merchandiseTotal;
	}

}